#include "widget.h"
#include "ui_widget.h"
#include<QFont>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    QFont a;
    a.setFamily("仿宋");
    a.setPixelSize(50);
    a.setUnderline(true);
    a.setOverline(true);
    a.setItalic(true);
    //a.setKerning(true);
    ui->label->setFont(a);
    ui->pushButton->setToolTip("666666");
    ui->pushButton->setToolTipDuration(2000);
}

Widget::~Widget()
{
    delete ui;
}

